package com.FactoryDemo;

import com.FactoryDemo.Apple;
import com.FactoryDemo.Factory;
import com.FactoryDemo.Fruit;

public class AFactory extends Factory {
    public Fruit CreateFruit(){
        return new Apple();
    }
}
